﻿//====================================================================
// Create by Daniel
// Copyright: YunStudio Inc.
// file： YCTemplate.cs
// project ：YunCMS
// Build time：2012-09-09
// modify:
// description:
// ===================================================================
using System;
namespace YunCMS.Model
{
	/// <summary>
	///YCTemplate Model
	/// </summary>
	[Serializable]
	public class YCTemplate
	{
		#region 
		private int _id;
		private string _templatename = String.Empty;
		private string _templatefile = String.Empty;
		private string _description = String.Empty;
		#endregion
		
		#region 
		///<summary>
		///Constructor
		///</summary>
		public YCTemplate()
		{
		}
		///<summary>
		///Constructor
		///</summary>
		public YCTemplate
		(
			int id,
			string templatename,
			string templatefile,
			string description
		)
		{
			_id           = id;
			_templatename = templatename;
			_templatefile = templatefile;
			_description  = description;
			
		}
		#endregion
		
		#region 
		
		///<summary>
		///ID
		///</summary>
		public int ID
		{
			get {return _id;}
			set {_id = value;}
		}

		///<summary>
		///Template name
		///</summary>
		public string TemplateName
		{
			get {return _templatename;}
			set {_templatename = value;}
		}

		///<summary>
		///Template file path
		///</summary>
		public string TemplateFile
		{
			get {return _templatefile;}
			set {_templatefile = value;}
		}

		///<summary>
		///Description
		///</summary>
		public string Description
		{
			get {return _description;}
			set {_description = value;}
		}
	
		#endregion	
	}
}



